import { createRouter,createWebHistory,RouteRecordRaw } from "vue-router"

const routes: Array<RouteRecordRaw> = [
    {
        path: '/',
        name:'Fu',
        component: () => import('../view/Fu.vue')
    },
    {
        path: '/zi',
        name:'zi',
        component: () => import('../view/zi.vue')
    },
    {
        path: '/Demo',
        name:'Demo',
        component: () => import('../view/Demo.vue')
    },
]

const router = createRouter({
    routes,
    history: createWebHistory()
})

export default router